@{
    @*当前模型没有使用，未显示出来*@
    Model.Classes.Clear();
    Model.Classes.Add("page-sidebar-menu");
    var tag = Tag(Model, "div");
    // 所有一级菜单    
    var items = (IList<dynamic>)Enumerable.Cast<dynamic>(Model.Items);   
}
@if (WorkContext.CurrentUser != null)
{
if(items.Count() > 0)
{
<!-- BEGIN HORIZANTAL MENU -->
<div class="hor-menu hidden-sm hidden-xs">
	<ul class="nav navbar-nav">
		<!-- DOC: Remove data-hover="dropdown" and data-close-others="true" attributes below to disable the horizontal opening on mouse hover -->
		<li class="classic-menu-dropdown active">
			<a href="index.html">
			Dashboard <span class="selected">
			</span>
			</a>
		</li>
		@DisplayChildren(Model)
	</ul>
</div>
<!-- END HORIZANTAL MENU -->
<!-- BEGIN HEADER SEARCH BOX -->
<!-- DOC: Apply "search-form-expanded" right after the "search-form" class to have half expanded search box -->
<!--form class="search-form" action="extra_search.html" method="GET">
	<div class="input-group">
		<input type="text" class="form-control" placeholder="Search..." name="query">
		<span class="input-group-btn">
		<a href="javascript:;" class="btn submit"><i class="icon-magnifier"></i></a>
		</span>
	</div>
</form-->
<!-- END HEADER SEARCH BOX -->		
}
}